package com.mdb.open.epay.enums.type;

import com.mdb.bc.api.enums.ApiEnum;

/**
 * 訂單查詢業務狀態枚舉
 *
 * @author liuyi
 * @date 2019/11/14
 **/
public enum OrderQueryBizTypeEnum implements ApiEnum<String> {
    PAY("支付查詢"),
    CHARGE("充值"),
    REFUND("退貨查詢"),
    CANCEL("撤銷查詢"),
    ;

    //枚举描述
    private String text;

    OrderQueryBizTypeEnum(String text) {
        this.text = text;
    }

    @Override
    public String getValue() {
        return this.name();
    }

    @Override
    public String getText() {
        return this.text;
    }
}
